package 单链表翻转;

/**
 * Created by wangyg 
 * on 2017/7/14 15:07
 */
public class Node {
	//模拟数据
	private int data;
	//指针域
	private Node next;

	public Node(int data) {
		this.data = data;
	}

	public Node() {
	}

	public int getData() {
		return data;
	}

	public void setData(int data) {
		this.data = data;
	}

	public Node getNext() {
		return next;
	}

	public void setNext(Node next) {
		this.next = next;
	}


}
